import request from '@/utils/request'

// 查询国籍信息列表
export function listAll(query) {
  return request({
    url: '/api/NationalStandardIndustry/selectAll',
    method: 'get',
    params: query
  })
}
// 获取栏目选择框列表
export function optionselect() {
  return request({
    url: '/api/system/nation/select',
    method: 'get'
  })
}

export function add(data) {
  return request({
    url: '/api/system/nation/add',
    method: 'post',
    data:data
  })
}
//
export function update(data) {
  return request({
    url: '/api/system/nation/update',
    method: 'post',
    data:data
  })
}

// 删除栏目
export function delDept(id) {
  return request({
    url: '/api/system/nation/remove/' + id,
    method: 'delete'
  })
}


// 删除栏目
export function getById(id) {
  return request({
    url: '/api/system/nation/selectById/' + id,
    method: 'get'
  })
}
